<?php

	if (isset($_GET['orderid'])) $oid 	= $_GET['orderid'];
		else $oid = 0;
	if (isset($_GET['amount'])) $amount = $_GET['amount'];
		else $amount = 0;
	

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>BOCI PAYMENT</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.title {
	font-family: "Trebuchet MS";
	font-size: 24px;
	font-weight: bolder;
	color: #FFFFFF;
	background-color: #000000;
	margin: 0px;
	padding: 5px;
}
.form {
	font-family: "Trebuchet MS";
	font-size: 12px;
	line-height: 20px;
	color: #000000;
	padding: 20px;
}
.footer {
	background-color: #000000;
	padding: 2px;
	text-align: center;
	font-family: "Trebuchet MS";
	font-size: 10px;
	color: #FFFFFF;
}
-->
</style></head>

<body>
<div class="title" id="Title">BOCI Payment Test</div>

<div class="form" id="form">Your Order Number is : <?=str_pad($oid,10,'0',STR_PAD_LEFT)?><br />
  Your Payment Amount  : <?=$amount?> HKD<br />
  <br />
  <br />
  <form name="form1" id="form1" method="post" action="order_confirm.php">
	Return Code :<br />
    <input name="status" type="radio" value="AP" checked="checked" />    
    Approved 
    <input type="radio" name="status" value="CC" />
    Cancelled 
    <input type="radio" name="status" value="NA" />
    Not available 
    <input type="radio" name="status" value="RJ" />
    Rejected<br />
    <br />
    Transaction ID:<br />
    <input name="rrNo" type="text" id="rrNo" value="<?=date('YmdHis')?>"/>
    <input name="orderid" type="hidden" id="orderid" value="<?=$oid?>" />
    <input name="amount" type="hidden" id="amount" value="<?=$amount?>" />
    <br />

	<div align="center">
      <input type="submit" name="Submit" value="Pay this order" />
    </div>
  </form> 
</div>
<div class="footer" id="footer">&copy; BOCI</div>
 
</body>
</html>
